/*--------------------------------------------------------------
# Copyright (C) joomla-monster.com
# License: http://www.joomla-monster.com/license.html Joomla-Monster Proprietary Use License
# Website: http://www.joomla-monster.com
# Support: info@joomla-monster.com
---------------------------------------------------------------*/

/* ==========================================================================
   DJMENU styles
   ========================================================================== */

.dj-main {
    margin: 0;
    width: auto;
    position: relative;
    z-index: 500;
}

.dj-main li.dj-up {
    position: relative;
    float: left;
    margin: 0;
    padding: 0 0 0 3px;
}

.dj-main li.dj-up .dj-drop {
    display: block;
    background: url("http://templates.design-joomla.eu/joomla30/jm-school-tools/templates/jm-school-tools/images/dj-menu-down.png") no-repeat right center;
    padding: 0 15px 0 0;
}

.dj-main li.dj-up:first-child {
    background: none;
    padding: 0;
}

.dj-main li a.dj-up_a {
    float: left;
    color: #fff;
    padding: 14px 25px;
    cursor: pointer;
    text-decoration: none;
    line-height: 1.2em;
}

.dj-main li.separator > a {
    cursor: default;
}

/* Default list styling */

.dj-main li:hover {
    position: relative;
    z-index: 200;
}

.dj-main li:hover ul.dj-submenu {
    left: 3px;
    top: 49px;
    width: 220px;
    height: auto;
    z-index: 300;
}

.dj-main li.first ul.dj-submenu {
    left: -1px;
}

.dj-main li.submenu_top,
.dj-main li.submenu_bot {
    display: block!important;
    height: 5px!important;
}

.dj-main li.submenu_top {
    border-radius: 5px 5px 0 0;
    -webkit-border-radius: 5px 5px 0 0;
}

.dj-main li > ul.dj-submenu > li.submenu_top {
     border-radius: 0;
    -webkit-border-radius: 0;
}

.dj-main li.submenu_bot {
    border-radius: 0 0 5px 5px;
    -webkit-border-radius: 0 0 5px 5px;
}


.dj-main li ul.dj-submenu li {
    display: block;
    height: auto;
    position: relative;
    float: left;
    width: 220px;
    font-size: 14px;
    line-height: 1.5em;
    margin: 0;
    padding: 0; 
    font-weight: normal;
    background: none;
}

.dj-main li ul.dj-submenu li a {
    display: block;
    height: auto;
    width: 185px;
    line-height: 1.5em;
    padding: 10px 10px 10px 25px;
    text-decoration: none;
    float: left;
    color: #fff;
}

.dj-main li ul.dj-submenu li.first > a {
    border-top: 1px solid transparent;  
}

.dj-main li:hover ul.dj-submenu li a:hover, 
.dj-main li ul.dj-submenu li a.active, 
.dj-main li ul.dj-submenu li li a.active, 
.dj-main li ul.dj-submenu li li li a.active {
    color: #fff;
}
 
.dj-main li:hover li:hover ul, 
.dj-main li:hover li:hover li:hover ul, 
.dj-main li:hover li:hover li:hover li:hover ul, 
.dj-main li:hover li:hover li:hover li:hover li:hover ul {
    left: 222px;
    top: 0;
    width: 220px;
    z-index: 400;
    height: auto;
}

.dj-main ul, 
.dj-main li:hover ul ul, 
.dj-main li:hover li:hover ul ul, 
.dj-main li:hover li:hover li:hover ul ul, 
.dj-main li:hover li:hover li:hover li:hover ul ul {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 0;
    height: 0;
    margin: 0;
}

.dj-main li ul.dj-submenu li a.dj-more,
.dj-main li ul.dj-submenu li a.dj-more-active {
    background-repeat: no-repeat;
    background-position: right center;
    background-image: url("http://templates.design-joomla.eu/joomla30/jm-school-tools/templates/jm-school-tools/images/dj-menu-li.png");
}

.dj-main li ul.dj-submenu li a.dj-more,
.dj-main li:hover li:hover li a.dj-more, 
.dj-main li:hover li:hover li:hover li a.dj-more, 
.dj-main li:hover li:hover li:hover li:hover li a.dj-more {
    color: #fff;
    padding-right: 20px;
    width: 175px;
}